//
//  HMHomeModel.h
//  G05爱鲜蜂
//
//  Created by 源 何 on 16/10/16.
//  Copyright © 2016年 何源. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HMHomeModel : NSObject

////活动 -> tableView
//@property (nonatomic, strong) NSArray *activities;
//
////轮播器图片
//@property (nonatomic, strong) NSArray *focus;
//
////图标
//@property (nonatomic, strong) NSArray *icons;
@property (nonatomic, copy) NSString *ids;

@property (nonatomic, copy) NSString *name;

@property (nonatomic, copy) NSString *img;

@property (nonatomic, copy) NSString *toURL;

- (instancetype)initWithDict:(NSDictionary *)dict;

+ (instancetype)modelWithDict:(NSDictionary *)dict;

+ (void)downloadWithKey:(NSString *)key andSuccessBlock:(void(^)(NSArray *array))successBlock andFailureBlock:(void(^)())failureBlock;


@end
